class Tag {
  String color;
  String forecolor;
  String tagstypeId;
  String text;

  Tag(
      {required this.color,
      required this.forecolor,
      required this.tagstypeId,
      required this.text});

  factory Tag.formJson(Map<String, dynamic> json) {
    return Tag(
        color: json['color'],
        forecolor: json['forecolor'],
        tagstypeId: json['tagstypeId'],
        text: json['text']);
  }
}
